DevForce Help Reference
EntityQuery<T> Class Members
Properties  Methods 


The following tables list the members exposed by EntityQuery<T>.

Public Constructors
 NameDescription
Public ConstructorEntityQuery<T> ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyCommandTimeout Gets or sets the wait time in seconds before terminating the attempt to execute a command and generating an error. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public PropertyElementTypeOverridden.  The type of elements returned by the query.  
Public PropertyEntityManager Gets or sets the EntityManager to use when the query is run. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public PropertyEntitySetName Gets or sets the name of the Entity Data Model (EDM) entity set used by this query. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public PropertyExpressionSee System.Linq.IQueryable. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public PropertyIncludePaths Gets a collection of path strings in "Include" statements added to this query. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public PropertyIsDefaultEntitySet Returns whether the query is using the "default" entity set. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public PropertyIsExecuteQuery Gets whether the query can be executed immediately (e.g., the query ends with a call to First(), Single(), Last(), ElementAt() or performs an aggregation). Internal use only. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public PropertyIsNamedQuery Returns true if the query is a named query having a server query method. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public PropertyNamedQuery The named query, if any, that this query is based upon. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public PropertyNamedQueryMethod The named method, if any, that this query was based on. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public PropertyNamedQueryResultIsEnumerable Returns true if the query is an IQueryable. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public PropertyOriginalClientQuery The original query before being merged with any named query. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public PropertyParameters For use with Poco queries only. Otherwise closure variables should be used instead. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public PropertyQueryableType Gets the Entity type being queried. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public PropertyQueryStrategyGets or sets the QueryStrategy to use when executing this query. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public PropertyTag Gets or sets user-defined information regarding this query. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Top
Protected Properties
 NameDescription
Protected PropertyInternalQueryStrategy Returns the internal query strategy for this query. May be different from the QueryStrategy during the execution of a cache query. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Top
Public Methods
 NameDescription
Public MethodAddIncludePaths  
Public MethodAddParameterOverloaded.  For use with Poco queries only. Otherwise closure variables should be used instead. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public MethodAddToQueryCacheAdd this query to the QueryCache. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public MethodCast<TResult> Converts the elements of an EntityQuery{T} to the specified type.  
Public MethodCloneOverridden.  Create a deep copy of this query.  
Public MethodCreateFinder Internal use only. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public MethodEqualsSee System.Object.Equals(System.Object). (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public MethodGetEnumeratorInternal use only - part of IEnumerable implementation.  
Public MethodGetHashCodeServes as the default hash function. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public MethodGetType (Inherited from object)
Public MethodInQueryCacheGets whether this query is in the QueryCache. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public MethodOfType<TResult> Filters the elements of an IEntityQuery based on a specified type.  
Public MethodRemoveIncludePaths Returns a new query with the specified "Include" paths removed. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public MethodRemoveParameter For use with Poco queries only. Otherwise closure variables should be used instead. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Public MethodToStringReturns a string that represents the current object. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Top
Protected Methods
 NameDescription
Protected MethodFinalize (Inherited from object)
Protected MethodMemberwiseClone (Inherited from object)
Protected MethodUpdateSettingsFrom Internal use only. (Inherited from IdeaBlade.EntityModel.EntityQuery)
Top
Extension Methods
 NameDescription
Public Extension MethodAll Determines whether every element of a sequence satisfies a condition.
Public Extension MethodAll<T> Returns true if all items in a cached collection satisfy the given predicate.
Public Extension MethodAll Determines whether all the elements of a sequence satisfy a condition.
Public Extension MethodAllEqualOverloaded.  Returns true if all items in a cached collection are equal.
Public Extension MethodAnyOverloaded.  Determines whether a sequence contains any elements.
Public Extension MethodAny<T> Returns true if any of the items in the indexed collection in cache satisfy the given predicate.
Public Extension MethodAnyOverloaded.  Determines whether a sequence contains any elements.
Public Extension MethodAsScalarAsyncOverloaded. Converts an IEntityQuery{T} to an IEntityScalarQuery<T> so that the scalar query can be executed asynchronously.
Public Extension MethodConcat<TSource> Concatenates two sequences.
Public Extension MethodConcat<T> Concatenates two sequences.
Public Extension MethodContains Determines whether a sequence contains a specified element by using the default equality comparer.
Public Extension MethodContains Determines whether a sequence contains a specified element by using the default equality comparer.
Public Extension MethodCountOverloaded.  Returns the number of elements in a sequence.
Public Extension MethodCountOverloaded.  Returns the number of elements in a sequence.
Public Extension MethodDefaultIfEmptyOverloaded.  Returns the elements in a sequence or a default valued singleton collection if the sequence is empty.
Public Extension MethodDistinctOverloaded.  Returns distinct elements from a sequence.
Public Extension MethodDistinct<TSource,TResult> Returns distinct elements from a sequence by using a specified selector function to project objects to compare.
Public Extension MethodDistinct Returns distinct elements from a sequence by using the default equality comparer to compare values.
Public Extension MethodExcept<TSource>
Public Extension MethodExcept<TSource,TResult> Produces the set difference of two sequences by using a specified selector function to compare values.
Public Extension MethodExecuteOverloaded.  Execute the query and return untyped results.
Public Extension MethodExecuteAsyncOverloaded.  Execute the query asynchronously.
Public Extension MethodExecuteAsyncOverloaded.  Execute the query asynchronously.
Public Extension MethodFilterOverloaded.  Append the specified filter collection to the query.
Public Extension MethodFirstOrDefault Returns the first element of a sequence, or the default value (usually null) if not found.
Public Extension MethodFirstOrNullEntityOverloaded.  Executes the query and returns the first element of the sequence, or the appropriate NullEntity if no element is found.
Public Extension MethodForEachOverloaded.  Enumerate a cached collection performing the specified action on each item.
Public Extension MethodGetAggregateHashCode Returns a hashcode for a collection that uses a similar algorithm to that used by the .NET Tuple class. Order matters.
Public Extension MethodGetIncludedEntityTypes Returns a list of all entity types, excluding Included types, referenced by the query.
Public Extension MethodGetReferencedEntityTypes Returns a list of all entity types referenced by the query.
Public Extension MethodGroupByOverloaded.  Groups the elements of a sequence according to a specified key selector function.
Public Extension MethodGroupByOverloaded.  Groups the elements of a sequence according to a specified key selector projection.
Public Extension MethodGroupJoin<TOuter,TInner,TKey,TResult> Correlates the elements of two sequences based on key equality and groups the results. The default equality comparer is used to compare keys.
Public Extension MethodIncludeOverloaded.  Configures eager fetching for related entities in the specified query path.
Public Extension MethodIndexOf<T> Returns the index of the first item in the sequence matching a condition, or -1 if no match found.
Public Extension MethodIntersect<TSource,TResult> Produces the set intersection of two sequences by using a specified selector function to project objects to compare.
Public Extension MethodJoinOverloaded.  Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys.
Public Extension MethodOrderByOverloaded.  Sorts the elements of a sequence in ascending order.
Public Extension MethodOrderByDescendingOverloaded.  Sorts the elements of a sequence in descending order.
Public Extension MethodOrderBySelectorOverloaded. Sorts the elements of a sequence according to a IdeaBlade.Linq.SortSelector containing one or more sort criteria.
Public Extension MethodOrderBySelectorOverloaded. Sorts the elements of a sequence according to an IdeaBlade.Core.ISortSelector. Sorts on multiple properties are supported.
Public Extension MethodRepeat<T> Repeat the items enumerable count times.
Public Extension MethodSelectOverloaded.  Projects each element of a sequence into a new form.
Public Extension MethodSelectOverloaded.  Projects each element of a sequence into a new form.
Public Extension MethodSelectManyOverloaded.  Projects each element of a sequence to an IEnumerable{T} and combines the resulting sequences into one sequence of type IQueryable{T}.
Public Extension MethodSelectManyOverloaded.  Projects each element of a sequence to an System.Collections.Generic.IQueryable{T} and combines the resulting sequences into one sequence.
Public Extension MethodSkipOverloaded.  Bypasses a specified number of elements in a sequence and then returns the remaining elements.
Public Extension MethodSkip Bypasses a specified number of elements in a sequence and then returns the remaining elements.
Public Extension MethodSkipWhileOverloaded.  Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements.
Public Extension MethodTakeOverloaded.  Returns a specified number of contiguous elements from the start of a sequence.
Public Extension MethodTake Returns a specified number of contiguous elements from the start of a sequence.
Public Extension MethodTakeWhileOverloaded.  Returns elements from a sequence as long as a specified condition is true, and then skips the remaining elements.
Public Extension MethodThenByOverloaded.  Performs a subsequent ordering of the elements in a sequence in ascending order.
Public Extension MethodThenByDescendingOverloaded.  Performs a subsequent ordering of the elements in a sequence in descending order.
Public Extension MethodThenBySelector<TSource> Adds secondary sort criteria to a query.
Public Extension MethodThenBySelector<TSource>Sorts the elements of a sequence according to a SortSelector. Sorts on multiple properties are supported.
Public Extension MethodToAggregateString Concatenates the string version of each element in a collection using the delimiter provided.
Public Extension MethodToHashSet<T>Returns a HashSet of the specified collection.
Public Extension MethodUnionOverloaded.  Produces the set union of two sequences.
Public Extension MethodUnion<TSource,TResult> Produces the set union of two sequences by using a specified selector function to project objects to compare.
Public Extension MethodWhereOverloaded.  Filters a sequence of values based on a predicate.
Public Extension MethodWhereOverloaded. Filters a sequence of values based on a PredicateDescription. Loosely typed version.
Public Extension MethodWithOverloaded.  Returns a clone of the query for the specified EntityManager.
Top
See Also

Reference

EntityQuery<T> Class
IdeaBlade.EntityModel Namespace
EntityManager Class
EntityQueryExtensions Class

Send Feedback